Patchstack\Extensions\WordPress\Extension B

Total Complexity 81
Dependencies 1
Dependents 1
Total lines 435
Lines of code 218
Logical lines of code 128
Comment lines 131
Methods 14
Properties 3

Methods 14

Method Rating Maintainability Complexity Lines of code
isWhitelisted()
B
41 22 49
logRequest()
B
47 17 31
isWhitelistedCustom()
A
46 14 38
canBypass()
A
55 9 18
isBlocked()
S
53 4 24
isLegacyRuleMatch()
S
60 4 14
check_range_rule()
S
62 3 11
isFileUploadRequest()
S
78 2 3
__construct()
S
75 1 4
forceExit()
S
69 1 7
getIpAddress()
S
81 1 3
getHostName()
S
79 1 3
check_subnet_mask_rule()
S
65 1 8
check_wildcard_rule()
S
71 1 5